define(window.backboneCommon.getControllerDefine("Agent"), function (require,Model) {
    var model=new Model();
    //var modelBaseData=new ModelBaseData();
    return Backbone.Collection.extend({
        model:  model,
        // initialize: function () {
        //     model.set({modelBaseData:modelBaseData});
        // },
        getCustomerNum:function (id) {
            model.getCustomerNum(id);
        },
        getPageList:function(param){
            model.getPageList(param);
        },
        getInfo:function(id){
            model.getInfo(id);
        },
        saveInfo:function (json) {
            json.id ? model.updateInfo(json) : model.addInfo(json);
        }
    });
});